package com.android.gl2jni.filter;

import java.nio.FloatBuffer;

/**
 * Create time: 2018/9/17.
 */
public abstract class AbsProgram {
  public abstract void release();
  public abstract int createTextureObject();
  public abstract void draw(float[] mvpMatrix, float[] color, FloatBuffer vertexBuffer, int firstVertex,
      int vertexCount, int coordsPerVertex, int vertexStride);
  public abstract void draw(float[] mvpMatrix, FloatBuffer vertexBuffer, int firstVertex,
      int vertexCount, int coordsPerVertex, int vertexStride,
      float[] texMatrix, FloatBuffer texBuffer, int textureId, int texStride);
}
